package com.ynny.Dao;

import com.ynny.Entity.optional_courses;

import java.math.BigDecimal;
import java.util.List;

public interface optional_coursesDao {
    int addCourses(String number, String courses, BigDecimal score);
    List<optional_courses> queryAllByNumber(String number);

    int addCourse(String number, String courseName, Double score);

    List<optional_coursesDao> queryCourseByNumber(String number);

    optional_courses CourseByNumber(String number);//查询选修课

}
